package com.cuteboy.dao;

import com.cuteboy.entity.SysPermission;
import com.cuteboy.util.MyMapper;

import java.util.HashMap;
import java.util.List;

public interface SysPermissionMapper extends MyMapper<SysPermission> {

    List<SysPermission> selectPermissionByRoleId(Integer roleId);

    List<SysPermission> selectByParentIdAndRoleId(HashMap<String, Object> paraMap);

    List<SysPermission> selectByParentCode(String parentCode);

}